babl: clean up various syntax bugs.
authorJehan <jehan@girinstud.io>
Tue, 4 Jul 2017 14:44:16 +0000 (16:44 +0200)
committerJehan <jehan@girinstud.io>
Sun, 16 Jul 2017 13:26:47 +0000 (15:26 +0200)
Trailing whitespaces, tabs, etc.

babl/Makefile.am
babl/babl-extension.c
babl/babl-internal.h
babl/babl.c

index 096f6b72099e2e73dae25e9eaabf6cf15a459258..9c697a3ffaabc71e89e010ec0847a710f5c16274 100644 (file)
@@ -97,7 +97,7 @@ EXTRA_DIST = babl-ref-pixels.inc
 # already exists because then we are probably working with a tarball
 # in which case the git-version.h we ship is correct.
 
-libbabl_generated_sources = git-version.h 
+libbabl_generated_sources = git-version.h
 BUILT_SOURCES = git-version.h
 CLEANFILES = git-version.h
 
index 01efe0fbdad17fcea454607d7663334d5d2b3d82..8edb60d0807e3b669fce76146a38c72ad70d6ca5 100644 (file)
@@ -145,7 +145,7 @@ void babl_extension_deinit (void)
 #if !defined(BIND_RESTRICTED)
 #  define BIND_RESTRICTED       0
 #endif
-#define RTLD_NOW               (BIND_IMMEDIATE|BIND_NONFATAL|DYNAMIC_PATH)
+#define RTLD_NOW              (BIND_IMMEDIATE|BIND_NONFATAL|DYNAMIC_PATH)
 #define HLIB   shl_t
 #define dlopen(path, flags)    shl_load (path, flags, 0L)
 #define dlclose(handle)                shl_unload (handle)
index b55249b560dabee027321a93fe2214dcb85d4b80..78f2b5655d2f9454197d6eae82d17e148443d641 100644 (file)
@@ -143,7 +143,7 @@ real_babl_log (const char *file,
   va_list  varg;
 
   va_start (varg, fmt);
-  real_babl_log_va(file, line, function, fmt, varg);
+  real_babl_log_va (file, line, function, fmt, varg);
   va_end (varg);
 }
 
@@ -167,9 +167,9 @@ real_babl_log (const char *file,
 #define babl_log(...)                                       \
   real_babl_log(__FILE__, __LINE__, G_STRFUNC, __VA_ARGS__)
 
-#define babl_fatal(...) do{                                \
+#define babl_fatal(...) do{                                  \
   real_babl_log(__FILE__, __LINE__, G_STRFUNC, __VA_ARGS__); \
-  babl_die();}                                              \
+  babl_die();}                                               \
 while(0)
 
 #elif defined(BABL_GNUC_VARIADIC_MACROS)
index 935a86081080d9a453c5bd4140f7599504d1810b..9924fa75339e048c3b909c26b01c9f5d95c17d61 100644 (file)
@@ -26,7 +26,8 @@ static HMODULE libbabl_dll = NULL;
 
 /* Minimal DllMain that just stores the handle to this DLL */
 
-BOOL WINAPI                    /* Avoid silly "no previous prototype" gcc warning */
+/* Avoid silly "no previous prototype" gcc warning */
+BOOL WINAPI
 DllMain (HINSTANCE hinstDLL,
          DWORD     fdwReason,
          LPVOID    lpvReserved);